package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import com.sky.result.Result;

import java.util.List;

public interface ShoppingCartService {
    /*
    * 添加购物车
    * */
    void add(ShoppingCartDTO shoppingCartDTO);

    // 查看购物车
    List<ShoppingCart> shoppingCart();


    //清空购物车
    void clean();


    void delete(ShoppingCartDTO shoppingCartDTO);
}
